<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>View user</title>
</head>
<body>

	<c:if test="${ empty viewedUser }">
		-- no user with provided username --
	</c:if>

	<c:if test="${ not empty viewedUser }">
		Viewed user: ${viewedUser.username}
	</c:if>

</body>
</html>